package com.kgcx.opc.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 何凯
 * @version 0.1
 * @description
 * @time 2017/11/30 17:53
 * @since 0.1
 */
@Configuration
@PropertySource("classpath:url.properties")
@Component
public class UrlFile{
    @Value("${url.urlBegin}")
    private String urlBegin;
    @Value("${url.urlEnd}")
    private String urlEnd;

    public String getUrlBegin() {
        return urlBegin;
    }

    public void setUrlBegin(String urlBegin) {
        this.urlBegin = urlBegin;
    }

    public String getUrlEnd() {
        return urlEnd;
    }

    public void setUrlEnd(String urlEnd) {
        this.urlEnd = urlEnd;
    }
}
